package com.consumer.feignclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 使用Feign调用service-provider服务
 * @author zincredible
 * @date 2019-07-11 16:22:44
 *
 */
@FeignClient(value = "service-provider", fallback = ServiceProviderCallback.class)
public interface IServiceProvider {
	@GetMapping("/api/provider")
	public String test();

}
